package top.wanzc.java.basic.source.enums;

public class Client {

	public static void main(String[] args) {
		UserGenderEnum[] userGenderEnums = UserGenderEnum.values();
		for (UserGenderEnum genderEnum : userGenderEnums) {
			System.out.println("enum:" + genderEnum + "," + genderEnum.name() + "," + genderEnum.ordinal());
		}
		System.out.println(UserGenderEnum.valueOf("MALE"));
	}

}
